Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skips content encoding of empty entities #9000

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

spericas
Copy link
Member

Description

Skips content encoding of empty entities. Attempting to encode an empty entity with an encoder such as GZIP will result in a non-empty entity (a GZIP preamble) which is problematic --especially when a 204 is returned by a handler. See issue #8998.

@spericas spericas added the 4.x Version 4.x label Jul 17, 2024
@spericas spericas added this to the 4.0.11 milestone Jul 17, 2024
@spericas spericas self-assigned this Jul 17, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 17, 2024
…ty entity with an encoder such as GZIP will result in a non-empty entity (a GZIP preamble) which is problematic --especially when a 204 is returned by a handler.
@spericas spericas merged commit f0f913c into helidon-io:main Jul 18, 2024
12 checks passed
barchetta pushed a commit to barchetta/helidon that referenced this pull request Jul 18, 2024
…ty entity with an encoder such as GZIP will result in a non-empty entity (a GZIP preamble) which is problematic --especially when a 204 is returned by a handler. (helidon-io#9000)
@barchetta barchetta removed this from the 4.0.11 milestone Jul 18, 2024
barchetta added a commit that referenced this pull request Jul 18, 2024
…ty entity with an encoder such as GZIP will result in a non-empty entity (a GZIP preamble) which is problematic --especially when a 204 is returned by a handler. (#9000) (#9008)

Co-authored-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants